package com.zb.vo;

import com.zb.annotation.NumberPattern;
import com.zb.entity.RemarkVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * @Author WEN
 * @Date 2024/3/18 0018
 **/
@Data
@ApiModel("审核工单挂起")
public class WorkSuspendChecklVo {
    @NotNull(message = "挂起工单ID参数不能为空")
    @ApiModelProperty(value = "挂起工单ID", required = true)
    private Long id;

    @NumberPattern(regexp = "^(2|3)$", required = true, message = "审核类型参数不合法")
    @ApiModelProperty(value = "审核类型：2-审核通过，3-驳回")
    private Integer type;

    @Length(max = 100, message = "审核备注长度限制100个字符")
    @ApiModelProperty(value = "审核备注")
    private String remark;
}
